From: Richard M. Stallman Date: Sun, 27 Apr 1997 03:32:14 +0000 (+0000) Subject: (x_destroy_window): Free saved_menu_event, if any. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~81498 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0c49ce2f28a3be740c526790d922c65dbbf2b8ed;p=emacs.git (x_destroy_window): Free saved_menu_event, if any. --- diff --git a/src/xterm.c b/src/xterm.c index ef7c17d042d..09b671634f7 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5889,6 +5889,9 @@ x_destroy_window (f) XFlush (FRAME_X_DISPLAY (f)); } + if (f->output_data.x.saved_input_event) + free (f->output_data.x.saved_menu_event); + xfree (f->output_data.x); f->output_data.x = 0; if (f == dpyinfo->x_focus_frame)